<style type="text/css">
  .sprofile button[type=button] {
	background-color: #103667;
	color: white;
	border: #94AAD6 1px solid;
	width: 50px;
	height: 25px;
}
</style>
<form class="sprofile">
<input type="hidden" name="bean.owner.username" value="${loginUser.username}"/>
<fieldset>
<legend>系统设置</legend>
<ul>
<li>
  登录显示:<select name="bean.homeUrl">
    <optgroup label="传递文件">
    <option value="fileserver/file/folder!myfolder">我的文件</option>
    <option value="fileserver/file/received">已收文件</option>
    <option value="fileserver/file/sent">已发文件</option>
    </optgroup>
    <optgroup label="公务办理">
    <option value="workflow/proceed/query">代办公务</option>
    <option value="workflow/proceed/older">已办公务</option>
    <option value="workflow/start-work!start">新建公务</option>
    </optgroup>
    <optgroup label="查看文件">
    <option value="fileflow/file/userdocs">公司文件</option>
    </optgroup>
  </select>
</li>
<li>登录提示: <label>显示<input type="radio" name="bean.showHome" value="true"/></label>
<label>不显示<input type="radio" name="bean.showHome" value="false"/></label>
</li>
<li><button type="button" id="saveUs">保存</button></li>
</ul>
</fieldset>
</form>

<script type="text/javascript">
$(function(){
  $("#saveUs").click(function(){
      var url = "usersetting/user-setting!create";
      var ps = $("form.sprofile").serialize();
      doSubmit(url,ps);
  });
});
</script>